import { injectable } from '@theia/core/shared/inversify';
import { MenuContribution, MenuModelRegistry } from '@theia/core/lib/common/menu';

@injectable()
export class AppleWidgetMenuContribution implements MenuContribution {
    registerMenus(menus: MenuModelRegistry): void {
        // Remove the New Text File menu item
        menus.unregisterMenuAction('file/new/text-file');
    }
} 